<?php

namespace app\data\model;

use think\admin\Model;

/**
 * 商城订单主模型
 * Class ShopOrder
 * @package app\data\model
 */
class ShopOrder extends Model
{
    public static function info($where=[],$field='*'){
        $info = self::mk()->where($where)->field($field)->findOrEmpty();
        if(empty($info)) return [];
        return $info->toArray();
    }
}
